package com.atguigu.spzx.user.mapper;

import com.atguigu.spzx.model.entity.user.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * ClassName: UserInfoMapper
 * Package:
 * Description:
 *
 * @Author:xiaohei
 * @Create 2024/5/22 16:19
 * Version 1.0
 */
@Mapper
public interface UserInfoMapper {
    //根据用户名查询数据库
    UserInfo selectByUsername(String username);

    //注册到数据库中
    void save(UserInfo userInfo);
}
